package cn.edu.scau.dormitory_management_system.entity.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.stereotype.Component;

/**
 * @author janko
 * @version 1.0
 * @date 2021/8/15 16:45
 */
@Data
@AllArgsConstructor
@ToString
public class StuDTO {
    String id;
    String name;
    String academic;
    String department;
    Integer grade;
    String clazz;
    Integer buildId;
    String buildName;
    String dormName;

    public StuDTO() {
        id = name = academic = department = clazz = buildName = dormName = "";
        grade = buildId = -1;
    }
}
